(function() {
	$J("select.empty:has(option[value=]:first-child)").on('change', function() {
	    $J(this).toggleClass("empty", $J.inArray($J(this).val(), ['', null]) >= 0);
	}).trigger('change');
})();